package com.xiaozhi.libraryfunction.domain;

import com.xiaozhi.common.annotation.Excel;
import com.xiaozhi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

import com.xiaozhi.common.annotation.Excel.ColumnType;
/**
 * 图书类型表 library_type
 *
 * @author xiaozhi
 */
public class LibraryType extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    @Excel(name = "类型序号", cellType = ColumnType.NUMERIC)
    private Long typeId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String tyname;

    /** 类型描述 */
    @Excel(name = "类型描述")
    private String tydescribe;

    /** 类型排序 */
    @Excel(name = "类型排序")
    private Long tysort;

    /** 类型创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    /** 类型修改时间 */
    @Excel(name = "修改时间")
    private Date updateTime;

    public LibraryType(Long typeId, String tyname, String tydescribe, Long tysort, Date createTime, Date updateTime) {
        this.typeId = typeId;
        this.tyname = tyname;
        this.tydescribe = tydescribe;
        this.tysort = tysort;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public LibraryType() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTyname() {
        return tyname;
    }

    public void setTyname(String tyname) {
        this.tyname = tyname;
    }

    public String getTydescribe() {
        return tydescribe;
    }

    public void setTydescribe(String tydescribe) {
        this.tydescribe = tydescribe;
    }

    public Long getTysort() {
        return tysort;
    }

    public void setTysort(Long tysort) {
        this.tysort = tysort;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
